(setq org-directory (expand-file-name "org/" my-home-dir))

(setq org-log-done 'time)
(setq org-file-apps
      '(("nes" . "mednafen %s")))
(after! org-agenda
(setq org-agenda-files (list (expand-file-name "todo.org" org-directory))))

(after! org-refile
  (setq org-refile-targets
        (list '((expand-file-name "archives.org" org-directory) :level . 2))))

(setq org-ref-default-bibliography (list (expand-file-name "refs/lib.bib" my-home-dir))
      org-ref-pdf-directory "~/refs/pdfs/"
      ;; org-ref-bibliography-notes "~/refs/notes.org"
      org-ref-notes-directory "~/refs/notes/"
      )
